package com.woniuxy.entity;

import java.util.Arrays;
import java.util.List;
import java.util.Map;

/*动物园类*/
public class Zoo {
    double averagePesu;//平均体重
    String[] tigerNames;
    boolean result;
    Tiger tiger;
    List<String> lionNames;
    List<Lion> lions;
    Map<String, String> pesu;//体重

    public double getAveragePesu() {
        return averagePesu;
    }

    public void setAveragePesu(double averagePesu) {
        this.averagePesu = averagePesu;
    }

    public String[] getTigerNames() {
        return tigerNames;
    }

    public void setTigerNames(String[] tigerNames) {
        this.tigerNames = tigerNames;
    }

    public boolean isResult() {
        return result;
    }

    public void setResult(boolean result) {
        this.result = result;
    }

    public Tiger getTiger() {
        return tiger;
    }

    public void setTiger(Tiger tiger) {
        this.tiger = tiger;
    }

    public List<String> getLionNames() {
        return lionNames;
    }

    public void setLionNames(List<String> lionNames) {
        this.lionNames = lionNames;
    }

    public List<Lion> getLions() {
        return lions;
    }

    public void setLions(List<Lion> lions) {
        this.lions = lions;
    }

    public Map<String, String> getPesu() {
        return pesu;
    }

    public void setPesu(Map<String, String> pesu) {
        this.pesu = pesu;
    }

    @Override
    public String toString() {
        return "Zoo{" +
                "averagePesu=" + averagePesu +
                ", tigerNames=" + Arrays.toString(tigerNames) +
                ", result=" + result +
                ", tiger=" + tiger +
                ", lionNames=" + lionNames +
                ", lions=" + lions +
                ", pesu=" + pesu +
                '}';
    }
}
